package HW4;

import java.io.OutputStream;
import java.io.Serializable;

public class UserMessage implements Serializable {

    private static final long serialVersionUID = 3418374345067856394L;
    private String type = "success";
    private Users user;

    public UserMessage() {
    }

    public UserMessage(String type, Users user) {
        this.type = type;
        this.user = user;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Users getUser() {
        return user;
    }

    public void setUser(Users user) {
        this.user = user;
    }
}
